Allows you to specify a local path to the pretrained weights.